package com.cn.service.customer;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cn.entity.TbCustomer;

/**
 * @Author 顾客service层接口
 * @Date 2021/6/4 11:38
 * @Package com.cn.service.customer
 * @Version 1.0
 */
public interface CustomerService {


    Page<TbCustomer> allTbCustomer(String name,String idCard,Long companyId,Integer pageNum);

    int addTbCustomer(TbCustomer tbCustomer);

    TbCustomer queryById(Long id);

    int updateTbCustomer(TbCustomer tbCustomer);

    int delById(Long id);

    /*
    根据idCard查询客户名
     */
    String selectByIdCard(Long idCard);

}
